<div class="form">
<?php 
//echo $form; 

echo $form->renderBegin();
foreach($form->getElements() as $element)
{
   
    echo $element->render();
     if ($element->name==='verifyCode')
    {
        $this->widget('CCaptcha');
    }
}
echo $form->renderButtons();
echo $form->renderEnd();

?>
</div>
 
